package top.stmo.springMVC.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;


//@ComponentScan({"top.stmo.springMVC.config","top.stmo.springMVC.service"})    //方式一
@ComponentScan(value="top.stmo.springMVC",                                      //方式二
        excludeFilters=@ComponentScan.Filter(
                type = FilterType.ANNOTATION,
                classes = Controller.class
        )
)
//@Configuration
public class SpringConfig {


}
